package com.lanou3g.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
@JsonIgnoreProperties({"handler","hibernateLazyInitializer"})
public class Clean {
	private Integer id;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date cleanTime;
	private Integer personId;
	private Integer flatsId;
	private Integer cleanLevel;//0表示优秀   1表示良好   2表示不合格
	private Flats flats;
	private Person person;
	
	public Flats getFlats() {
		return flats;
	}
	public void setFlats(Flats flats) {
		this.flats = flats;
	}
	public Person getPerson() {
		return person;
	}
	public void setPerson(Person person) {
		this.person = person;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Date getCleanTime() {
		return cleanTime;
	}
	public void setCleanTime(Date cleanTime) {
		this.cleanTime = cleanTime;
	}
	public Integer getPersonId() {
		return personId;
	}
	public void setPersonId(Integer personId) {
		this.personId = personId;
	}
	public Integer getFlatsId() {
		return flatsId;
	}
	public void setFlatsId(Integer flatsId) {
		this.flatsId = flatsId;
	}
	public Integer getCleanLevel() {
		return cleanLevel;
	}
	public void setCleanLevel(Integer cleanLevel) {
		this.cleanLevel = cleanLevel;
	}
	public Clean() {
		super();
	}
	
	
}
